package com.whalehearing.tingyou.entity;

import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;


/**
 * 门店申诉记录对象 sms_store_appeal
 *
 * @author danielshen
 * @date 2025-03-27
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sms_store_appeal")
@ApiModel(value = "StoreAppeal", description = "门店申诉记录实体")
public class StoreAppeal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;

    /** 门店评价id */
    @ApiModelProperty("门店评价id")
    private Long evaluateId;

    /** 门店id */
    @ApiModelProperty("门店id")
    private Long storeId;

    /** 申诉人id */
    @ApiModelProperty("申诉人id")
    private Long uid;

    /** 申诉原因 */
    @ApiModelProperty("申诉原因")
    private String appealReason;

    /** 审核状态 */
    @ApiModelProperty("审核状态")
    private Integer auditStatus;

    /** 是否删除 */
    @ApiModelProperty("是否删除")
    @TableLogic
    @JsonIgnore
    private Integer isDeleted;

    /** 门店申诉的图片信息 */
    @TableField(exist = false)
    @ApiModelProperty("门店申诉的图片列表")
    private List<StoreAppealImage> storeAppealImageList;

    @TableField(exist = false)
    private String storeName;
}
